package com.adinnet.admin.schoolWebsite.service;

import com.adinnet.admin.schoolWebsite.model.SchoolWebsite;
import com.adinnet.admin.schoolWebsite.model.vo.SchoolWebsiteReq;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 校区网点 服务类
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-16
 */
public interface SchoolWebsiteService extends IService<SchoolWebsite> {

    PageResult<SchoolWebsiteReq> schoolWebsiteList(String keyword, Integer page, Integer limit);

    JsonResult delete(Integer schoolWebsiteId);

    boolean add(SchoolWebsiteReq schoolWebsiteReq);

    boolean updateSchoolWebsite(SchoolWebsiteReq schoolWebsiteReq);
}
